import { createRouter, createWebHistory } from 'vue-router'
import MainLayout from '../layouts/MainLayout.vue'
import TestPage from '../pages/TestPage.vue'

const routes = [
  {
    path: '/',
    name: 'Home',
    component: MainLayout
  },
  {
    path: '/test',
    name: 'Test',
    component: TestPage
  }
]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router

